package com.arpa.ntocc.common.domain.dto;

import com.arpa.ntocc.common.domain.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 广告表DTO
 * </p>
 *
 * @author LEO
 * @since 2019-12-27
 */
@Data
@ApiModel(value="BannerDTO对象", description="广告表")
public class BannerDTO extends BasicEntity {


    private String code;

    @ApiModelProperty(value = "公司编码")
    private String branchCode;

    @ApiModelProperty(value = "标题")
    private String title;
    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "图片路径")
    private String img;

    @ApiModelProperty(value = "banner类型(driver:司机,shippment:入驻商,gateway_main:门户_首页,gateway_track:门户_货物跟踪)")
    private String type;

    @ApiModelProperty(value = "【未维护】超链地址")
    private String url;

    @ApiModelProperty(value = "【未维护】状态(0：广告，1：合作伙伴)")
    private Integer status;


    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;
}
